//TODO WEGGOOIDEN
Ext.define('ProjectAON.view.lerarenBeheren.Scherm30', {
    extend:'Ext.panel.Panel',
    alias:'widget.scherm30',

    title:'scherm30',


    initComponent:function () {

        Ext.applyIf(this, {
            layout:'border',
            items:[
                {
                    region:'center',
                    xtype:'panel',
                    items:[
                        {
                            xtype:'form',
                            border:false,
                            id:'imginform-form',
                            defaultType:'textfield',
                            method:'post',
                            items:[
                                {
                                    fieldLabel:'Voornaam', id:'voornaamId'
                                },
                                {
                                    fieldLabel:'Familienaam', id:'naamId'
                                },
                                {
                                    xtype:'combo',
                                    fieldLabel:'Land',
                                    store:new Ext.data.SimpleStore({
                                        data:[
                                            [1, 'België'],
                                            [2, 'Nederland'],
                                            [3, 'Duitsland']
                                        ],
                                        id:0,
                                        fields:['value', 'text']
                                    }),
                                    valueField:'value',
                                    displayField:'text',
                                    triggerAction:'all',
                                    editable:false
                                },
                                {
                                    fieldLabel:'Adres', id:'adresId'
                                },
                                {
                                    fieldLabel:'Telefoon', id:'telefoonId'
                                }
                            ], buttonAlign:'left', buttons:[
                            {text:'Wijzigingen opslaan'
                            }
                        ]
                        }
                    ]},
                {
                    region:'west',
                    width:200,
                    items:[
                        {
                            xtype:'box',
                            anchor:'',
                            isFormField:true,
                            fieldLabel:'Image',
                            autoEl:{
                                tag:'div', children:[
                                    {
                                        tag:'img', src:'/sab-design/images/tom.jpg'
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    region:'north',
                    items:[
                        {
                            xtype:'button',
                            text:'Terug',
                            icon:'http://whatisextjs.com/BAHO/icons/page_back.png',
                            action:'back'
                        }
                    ]
                }
            ]
        });


        this.callParent(arguments);
    }
});